package com.ruoyi.system.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.system.mapper.PlayerDynamicInfoMapper;
import com.ruoyi.system.domain.PlayerDynamicInfo;
import com.ruoyi.system.service.IPlayerDynamicInfoService;

/**
 * 【请填写功能名称】Service业务层处理
 *
 * @author ruoyi
 * @date 2021-08-18
 */
@Service
public class PlayerDynamicInfoServiceImpl implements IPlayerDynamicInfoService
{
    @Autowired
    private PlayerDynamicInfoMapper playerDynamicInfoMapper;

    /**
     * 查询【请填写功能名称】
     *
     * @param id 【请填写功能名称】主键
     * @return 【请填写功能名称】
     */
    @Override
    public PlayerDynamicInfo selectPlayerDynamicInfoById(Long id)
    {
        return playerDynamicInfoMapper.selectPlayerDynamicInfoById(id);
    }

    /**
     * 查询【请填写功能名称】列表
     *
     * @param playerDynamicInfo 【请填写功能名称】
     * @return 【请填写功能名称】
     */
    @Override
    public List<PlayerDynamicInfo> selectPlayerDynamicInfoList(PlayerDynamicInfo playerDynamicInfo)
    {
        return playerDynamicInfoMapper.selectPlayerDynamicInfoList(playerDynamicInfo);
    }

    /**
     * 新增【请填写功能名称】
     *
     * @param playerDynamicInfo 【请填写功能名称】
     * @return 结果
     */
    @Override
    public int insertPlayerDynamicInfo(PlayerDynamicInfo playerDynamicInfo)
    {
        return playerDynamicInfoMapper.insertPlayerDynamicInfo(playerDynamicInfo);
    }

    /**
     * 修改【请填写功能名称】
     *
     * @param playerDynamicInfo 【请填写功能名称】
     * @return 结果
     */
    @Override
    public int updatePlayerDynamicInfo(PlayerDynamicInfo playerDynamicInfo)
    {
        return playerDynamicInfoMapper.updatePlayerDynamicInfo(playerDynamicInfo);
    }

    /**
     * 批量删除【请填写功能名称】
     *
     * @param ids 需要删除的【请填写功能名称】主键
     * @return 结果
     */
    @Override
    public int deletePlayerDynamicInfoByIds(Long[] ids)
    {
        return playerDynamicInfoMapper.deletePlayerDynamicInfoByIds(ids);
    }

    /**
     * 删除【请填写功能名称】信息
     *
     * @param id 【请填写功能名称】主键
     * @return 结果
     */
    @Override
    public int deletePlayerDynamicInfoById(Long id)
    {
        return playerDynamicInfoMapper.deletePlayerDynamicInfoById(id);
    }
}